BFE\SavePost B

Total Complexity 89
Dependencies 3
Dependents 0
Total lines 536
Lines of code 387
Logical lines of code 201
Comment lines 129
Methods 18
Properties 0

Methods 18

Method Rating Maintainability Complexity Lines of code
update_or_add_post()
B
38 16 69
upload_image()
A
43 9 50
fe_sanitize_image()
A
52 9 25
is_image_upload_needed()
A
52 8 24
changing_rest_api_permission()
A
55 8 19
upload_file()
S
50 5 28
gutenberg_save_post()
S
61 5 12
post_thumb_uploading_image()
S
57 4 16
gutenberg_scripts()
S
58 4 15
after_post_update_redirect()
S
58 4 15
after_post_add_redirect()
S
58 4 15
add_post_thumbnail()
S
62 3 11
init()
S
51 1 33
upload_image_rest_api()
S
60 2 13
new_endpoints()
S
56 1 20
insert_post()
S
69 2 7
update_attachment_parent()
S
65 2 9
update_post()
S
71 2 6